package bg.code.commons.builder.vo;

/**
 * @author 郑兴泉 956607644@qq.com
 * @data 2020/3/19
 * 描述：实体（表）基本信息描述类
 */
public final class TableDescriptor {

    public static final String UUID_COLUMN = "uuid";

    private String primaryKey;
    private boolean uuid;
    /***
     * 表名称
     */
    private String name;
    /***
     * 实体类名称
     */
    private String entityName;
    /***
     * 注释
     */
    private String comment;
    /***
     * label
     */
    private String label = "项";

    public TableDescriptor() {

    }

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }

    public boolean isUuid() {
        return uuid;
    }

    public void setUuid(boolean uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
